<script setup lang='ts'>
const modules = ref<{ isBlack: boolean }[][]>([]);
</script>

<template>
  <view>
    <view class="qrcode">
      <view v-for="(row, rowI) in modules" :key="rowI" style="display: flex;flex-direction: row;">
        <view v-for="(col, colI) in row" :key="colI">
          <view v-if="col.isBlack" style="width: 10px;height: 10px;background-color: black;" />
          <view v-else style="width: 10px;height: 10px;background-color: white;" />
        </view>
      </view>
    </view>
  </view>
</template>

<style lang='scss' scoped>

</style>
